package common;

public class WindowsCharsets {

    public static String getName(int n) {
        switch (n) {
            case 37:
                return "IBM037";
            case 437:
                return "IBM437";
            case 500:
                return "IBM500";
            case 708:
                return "ISO-8859-6";
            case 709:
                return null;
            case 710:
                return null;
            case 720:
                return "IBM437";
            case 737:
                return "x-IBM737";
            case 775:
                return "IBM775";
            case 850:
                return "IBM850";
            case 852:
                return "IBM852";
            case 855:
                return "IBM855";
            case 857:
                return "IBM857";
            case 858:
                return "IBM00858";
            case 860:
                return "IBM860";
            case 861:
                return "IBM861";
            case 862:
                return "IBM862";
            case 863:
                return "IBM863";
            case 864:
                return "IBM864";
            case 865:
                return "IBM865";
            case 866:
                return "IBM866";
            case 869:
                return "IBM869";
            case 870:
                return "IBM870";
            case 874:
                return "x-windows-874";
            case 875:
                return "IBM875";
            case 932:
                return "Shift_JIS";
            case 936:
                return "x-mswin-936";
            case 949:
                return "x-windows-949";
            case 950:
                return "Big5";
            case 1026:
                return "IBM1026";
            case 1047:
                return "IBM1047";
            case 1140:
                return "IBM01140";
            case 1141:
                return "IBM01141";
            case 1142:
                return "IBM01142";
            case 1143:
                return "IBM01143";
            case 1144:
                return "IBM01144";
            case 1145:
                return "IBM01145";
            case 1146:
                return "IBM01146";
            case 1147:
                return "IBM01147";
            case 1148:
                return "IBM01148";
            case 1149:
                return "IBM01149";
            case 1200:
                return "UTF-16LE";
            case 1201:
                return "UTF-16BE";
            case 1250:
                return "windows-1250";
            case 1251:
                return "windows-1251";
            case 1252:
                return "windows-1252";
            case 1253:
                return "windows-1253";
            case 1254:
                return "windows-1254";
            case 1255:
                return "windows-1255";
            case 1256:
                return "windows-1256";
            case 1257:
                return "windows-1257";
            case 1258:
                return "windows-1258";
            case 1361:
                return "x-Johab";
            case 10000:
                return "x-MacRoman";
            case 10001:
                return null;
            case 10002:
                return null;
            case 10003:
                return null;
            case 10004:
                return "x-MacArabic";
            case 10005:
                return "x-MacHebrew";
            case 10006:
                return "x-MacGreek";
            case 10007:
                return "x-MacCyrillic";
            case 10008:
                return null;
            case 10010:
                return "x-MacRomania";
            case 10017:
                return "x-MacUkraine";
            case 10021:
                return "x-MacThai";
            case 10029:
                return "x-MacCentralEurope";
            case 10079:
                return "x-MacIceland";
            case 10081:
                return "x-MacTurkish";
            case 10082:
                return "x-MacCroatian";
            case 12000:
                return "UTF-32LE";
            case 12001:
                return "UTF-32BE";
            case 20000:
                return "x-ISO-2022-CN-CNS";
            case 20001:
                return null;
            case 20002:
                return null;
            case 20003:
                return null;
            case 20004:
                return null;
            case 20005:
                return null;
            case 20105:
                return null;
            case 20106:
                return null;
            case 20107:
                return null;
            case 20108:
                return null;
            case 20127:
                return "US-ASCII";
            case 20261:
                return null;
            case 20269:
                return null;
            case 20273:
                return "IBM273";
            case 20277:
                return "IBM277";
            case 20278:
                return "IBM278";
            case 20280:
                return "IBM280";
            case 20284:
                return "IBM284";
            case 20285:
                return "IBM285";
            case 20290:
                return "IBM290";
            case 20297:
                return "IBM297";
            case 20420:
                return "IBM420";
            case 20423:
                return null;
            case 20424:
                return "IBM424";
            case 20833:
                return null;
            case 20838:
                return "IBM-Thai";
            case 20866:
                return "KOI8-R";
            case 20871:
                return "IBM871";
            case 20880:
                return null;
            case 20905:
                return null;
            case 20924:
                return null;
            case 20932:
                return "EUC-JP";
            case 20936:
                return "GB2312";
            case 20949:
                return null;
            case 21025:
                return "x-IBM1025";
            case 21027:
                return null;
            case 21866:
                return "KOI8-U";
            case 28591:
                return "ISO-8859-1";
            case 28592:
                return "ISO-8859-2";
            case 28593:
                return "ISO-8859-3";
            case 28594:
                return "ISO-8859-4";
            case 28595:
                return "ISO-8859-5";
            case 28596:
                return "ISO-8859-6";
            case 28597:
                return "ISO-8859-7";
            case 28598:
                return "ISO-8859-8";
            case 28599:
                return "ISO-8859-9";
            case 28603:
                return "ISO-8859-13";
            case 28605:
                return "ISO-8859-15";
            case 29001:
                return null;
            case 38598:
                return "ISO-8859-8";
            case 50220:
                return "ISO-2022-JP";
            case 50221:
                return "ISO-2022-JP-2";
            case 50222:
                return "ISO-2022-JP";
            case 50225:
                return "ISO-2022-KR";
            case 50227:
                return "ISO-2022-CN";
            case 50229:
                return "ISO-2022-CN";
            case 50930:
                return "x-IBM930";
            case 50931:
                return null;
            case 50933:
                return "x-IBM933";
            case 50935:
                return "x-IBM935";
            case 50936:
                return null;
            case 50937:
                return "x-IBM937";
            case 50939:
                return "x-IBM939";
            case 51932:
                return "EUC-JP";
            case 51936:
                return "GB2312";
            case 51949:
                return "EUC-KR";
            case 51950:
                return null;
            case 52936:
                return "GB2312";
            case 54936:
                return "GB18030";
            case 57002:
                return "x-ISCII91";
            case 57003:
                return "x-ISCII91";
            case 57004:
                return "x-ISCII91";
            case 57005:
                return "x-ISCII91";
            case 57006:
                return "x-ISCII91";
            case 57007:
                return "x-ISCII91";
            case 57008:
                return "x-ISCII91";
            case 57009:
                return "x-ISCII91";
            case 57010:
                return "x-ISCII91";
            case 57011:
                return "x-ISCII91";
            case 65000:
                return null;
            case 65001:
                return "UTF-8";
            default:
                    return null;
        }
        // return null;
    }
}
